namespace C1.Win.C1FlexGrid
{
    using C1.Win.C1FlexGrid.Util.Styles;
    using System;
    using System.Drawing;

    internal class GridBorderDouble : BorderCompound
    {
        public GridBorderDouble(Color color, int horz, int vert)
        {
            int bottom = (horz > 0) ? 1 : 0;
            int right = (vert > 0) ? 1 : 0;
            base._outer = new BorderEmpty(0, right, 0, bottom);
            base.AddInner(new Border(color, vert, vert, horz, horz));
        }
    }
}

